//
//  CRUDProtocol.swift
//  CoreDataSwift
//
//  Created by liuxiang on 2018/1/10.
//  Copyright © 2018年 liuxiang. All rights reserved.
//

import Foundation
import CoreData

protocol CoreDataBaseProtocol: NSObjectProtocol {

    func excuteQuery(predicateString: String?, limitCount:Int, sortkeys:[String]?, ascending:Bool) -> [NSManagedObject]?
    
    func excuteDelete(predicateString: String?) -> Bool
    
    func excuteInsert(datasource: AnyObject) -> Bool

    
}

